<style type="text/css">
    input[type="radio"] {
        width: 10px;
    }
    form label {
        float: none !important;
    }
</style>

<?php echo include_javascripts_for_form($form); ?>
<form action="<?php echo $redirect ? 'https://www.platnosci.pl/paygw/UTF/NewPayment' : ''?>" method="post" id="payform">
    <?php echo $form ?>
    <input type="submit" value="<?php echo $redirect ? 'Przekieruj' : 'Zapłać' ?>" />
</form>

<?php if ($redirect) : ?>
    <script type="text/javascript">
        $(document).ready(function(){
            setTimeout(function() { $('#payform').submit(); }, 800);
        });
    </script>
<?php endif; ?>
<script type="text/javascript"> 
<!-- 
    $(document).ready(function() {
        $('input[name*="[js]"]').val(1);
    }); 
--> 
</script>